<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title>设置中心</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover" />
		<link href="css/mui.css" rel="stylesheet" />
		<link href="css/comment.css" rel="stylesheet" />
		<link href="css/center.css" rel="stylesheet" />
		<style type="text/css">
			/* .mui-table-view-cell:after{
				margin-left: 0;
			}
			.mui-navigate-right:after, .mui-push-right:after{
				right: 0;
			} */
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav gradient_normal" style="position: fixed;height: 64px;">
			<div style="height: 20px;"></div>
			<div class="mui-action-back mui-pull-left mui-icon mui-icon-arrowleft"></div>
			<h1 class="mui-title">设置中心</h1>
		</header>
		<div class="" style="margin-top: 64px;">
			<ul class="mui-table-view">
				<li class="mui-table-view-cell mWork">
					<a class="mui-navigate-right">
						推送管理
					</a>
				</li>
				<li class="mui-table-view-cell mSet">
					<a class="mui-navigate-right">
						修改密码
					</a>
				</li>
			</ul>
			<button type="button" class="setbtn">注销登录</button>
		</div>
		<script src="js/mui.js"></script>
		<script src="js/jquery.js"></script>
		<script src="js/rem.js"></script>
		<script type="text/javascript">
			mui.init();
			mui.plusReady(function() {
				//关闭等待框
				plus.nativeUI.closeWaiting();
				//注销登录
				$('.setbtn').on("tap",function(){
					//设置登录状态和用户手机号
					localStorage.setItem("login_state", 0);
					localStorage.setItem("user_phone", 0);
					localStorage.setItem("eqno", 0);
					mui.openWindow({
						url: "login.html",
						id: "login.html",
						waiting: {
							autoShow: true, //自动显示等待框，默认为true
							title: '正在加载...', //等待对话框上显示的提示内容
						}
					})
				});
				//重置密码
				$('.mSet').on("tap",function(){
					mui.openWindow({
						url: "resetPwd.html",
						id: "resetPwd.html",
						waiting: {
							autoShow: true, //自动显示等待框，默认为true
							title: '正在加载...', //等待对话框上显示的提示内容
						}
					})
				});
			})
		</script>
	</body>

</html>
